glsl: Make is_zero and is_one virtual methods of ir_rvalue