glsl: Remove redundant semantic check in parser