mesa: fix a GLSL array indexing codegen bug

Expressions like array[i] + array[j] didn't work properly before.
2 files changed