mesa: make update_fbo_texture() non-static