glsl: fix lowering outputs for early/nested returns