glsl: Allow non-constant UBO array indexing with GLSL4/ARB_gpu_shader5.