nir: rework system values lowering
In !5891 (merged) we discussed that it would be better to have some lowering switched on by the runtime instead of drivers having to deal with what API a shader is used for.
This adds an option struct to nir_lower_system_values
.