mesa: account for geometry shader texture fetches in update_texture_state