glsl/cs: Change some linker loops to use MESA_SHADER_FRAGMENT as a bound.