glsl/parser: Move anonymous struct name handling to the parser