glsl: fix indirect addressing of gl_TextureMatrix[] arrays