glsl: fix explicit-location ifc matching in presence of array types
We were treating each field as if it took up a single slot. However that's not the case. And with strict matching (GLSL 4.20+ / ES 3.1+) we would end up not matching identical interfaces.
Signed-off-by: Ilia Mirkin imirkin@alum.mit.edu