(GLSL) Make gl_glsl_num more robust