nir/recompute_io_bases: Sort per-primitive PS inputs last.
Some hardware requires that per-primitive FS inputs are sorted last, and nir_assign_io_var_locations
can already take care of this.
This MR adds the same consideration to nir_recompute_io_bases
, which will allow us to use this function in RADV later.