glsl: Implement the GLSL 1.30+ discard control flow rule in GLSL IR.