glsl: move some code from the GLSL IR linker to the NIR linker
Eventually we should aim to remove the GLSL IR linker. Some small steps in that direction.
Update: I've dropped some commits from this series that were not ready yet, so this MR is now a very small change.
Edited by Timothy Arceri