mesa: update fbo state in glTexStorage