glsl2: Fix the type of (1.0 - arg2) for mix(gen, gen, float).