The migration of equilibrium gas bubbles in a solid subject to a stress gradient