Fix endiannes issue.
Include SDL_endian.h where SDL_BYTEORDER is used