glsl/linker: use without_array() to retrieve type