glsl: create correct glsl_type for dereferenced arrays of arrays