tgsi_to_nir: add assertions for max varying slots