glsl: add subroutine support to nir linker