driver: change debug print endianness from little endian to big endian