Revert removal of PLATFORM_IS_LITTLE_ENDIAN

This doesn't get defined, which breaks Linux builds.
I'm unable to test if this breaks builds for Android/iOS/Windows
Merge pull request #8 from jj56/patch-2

It doesn't really break anything, I'm not sure why it was removed in the port I forked.