glsl/linker: Check the invariance of built-in special variables