glsl: Allow mixing of GLSL 1.40 and later shader versions.