nir: Make nir_lower_clip_vs optionally work with variables.