nir: Constify nir_gs_count_vertices