glsl/linker: fix location aliasing checks for interface variables