fix RGB16 to 8bit grayscale conversion