[OFFLOAD][L0] Use device ELF as image for L0ProgramTy (#20712)
Decouple building and linking the device image from creating the
L0ProgramTy representing it. Use the GPU ELF image as the internal Image
data for L0ProgramTy. This improves compatibility with the main library
which expects to be an ELF in several places.