st/mesa: unify fail paths for update_single_texture