elf: preallocate offsets for PT_PHDR and PT_LOAD (empty) segment

Otherwise, we will be using `undefined` as the offset to allocate
remaining phdrs and shdrs.
c0e9b84997Jakub Konka committed on 4/3/2023, 4:30:55 PMparent5900dc0
1 file changedLine totals unavailable