glsl: small optimisation fix for uniform array resizing