targeenc: fix rgb555 encoding on big endian systems.