More robust association between the kernels and lds struct.
Use poison instead of value() for lookup table elements introduced by dynamic lds lowering.
Extracted from D154946, new test from there verbatim. Segv fixed.
Fixes issues/63338
Fixes SWDEV-404491
One segv was here. This is assigning an array element for each kernel in OrderedKernels, where some might not have a corresponding kernel struct