nir: fix lower_mediump_outputs to not require variables, add mediump to IO semantics
If IO is lowered, NIR doesn't have to contain any IO variables (and in fact radeonsi removes them and other drivers should too).
This makes the pass work without variables.