Fix YUV->RGB with >8 bit formats