Shaders: `const` for readonly vars is in ARB_shading_language_420pack.

In the end it wasn't my NVidia shader compiler being too forgiving.
Platform: NaCl build workaround.