nir: add tess patch support to nir_remove_unused_varyings()