nir: add nir_after_phis() cursor helper