tgsi_to_nir: only update TGSI properties of the current shader stage