Port over Q3_LITTLE_ENDIAN/Q3_BIG_ENDIAN defines, to fix Radix sort