Put the OpenGL XYZ -> RGB gammas the right way round (#2294).