MYST3: Fix the endian-safety of the OpenGL texture loading