glsl: handle format layout qualifiers for struct with array of images