vo_opengl: Linearize non-RGB sRGB files correctly (eg. JPEG)

Signed-off-by: wm4 <wm4@nowhere>