mesa: add bind_texture_unit() helper