fix some loading
Merge pull request #3007 from Ced2911/module_endian

Fix crypted elf crashes on big endian