On POWER8 with the latest petitpoot, the loader.kboot is being
run as little-endian application. The FreeBSD kernel is
always big-endian on PPC, so the load_elf_* routines must be aware
of proper endianness of all fields.
Also:
- dynamically resolve the base address for kexec load
- modify trampoline code to be mixed-endianness compatible
- fix syscall implementation on PPC Linux