gfxutil.cpp: invert byteswap on bigendian archs