vo_opengl: fix srgb with certain inputs

Sampling from the source texture and scaling must always be done
separately in this mode.

Fix suggested by haasn.

Still looks a bit wrong, though.
vo_opengl: make operator precedence explicit

More readable.