glsl: Don't pass NULL to ir_assignment constructor when not necessary