glsl: fix handling of glsl ir compiler temps
In it's current state this handling doesn't really do anything so there is no need to backport this fix. However the fix is required for an upcoming MR that will switch the glsl linker to a fully nir based linker.