nir: Make glsl_to_nir compact scalar TessLevel arrays.