Palette is as supposed in native endianness. Converting the pal8 output to rgb24 is thus necessary for identical CRCs on big and little endian systems.