The dependence of cosmic ray driven galactic winds on halo mass