Backport linux-sgx PR455
Backport linux-sgx PR455

https://github.com/intel/linux-sgx/pull/455
Add useful error trace messages to elf parsing.

PiperOrigin-RevId: 276528544
Change-Id: I153125994e873481ee2a7e94ba53bc6e6df4d7c6

google/asylo,google/asylo,google/asylo,google/asylo,google/asylo,google/asylo