mesa: new _mesa_num_tex_faces() helper