ac/nir: fix incorrect Phis if callbacks use control flow inside control flow