glsl: fix struct offsets in the nir uniform linker