More carefully check defines for endianness.
Fix typos.
Merge remote-tracking branch 'unknownbrackets-ppsspp/endian' into raspberrypi