gl-renderer: simplify fragment shader main()
This series started from !889 (comment 1411774) and then spread a bit.
The aim is to make the fragment shader code easier to read, at the cost of maybe slightly more operations done in the color-managed case.
Is the trade-off worth it? Perhaps.