glsl: Add check for unsized arrays to glsl types