Take advantage of mbgl::gl::ObjectPool being iterable, and also let TexturePool update the texture ID value when releasing.