glsl/ast: Don't perform GS input array checks on non-inputs.