nir: Switch the arguments to nir_foreach_use and friends