Wall stabilization of the rigid ballooning $m=1$ mode in a long-thin mirror trap