glsl2/builtins: Fix "mod" builtin to use scalar/vector operations.