Fix crypted elf crashes on big endian