Virial shocks are suppressed in cosmic ray-dominated galaxy haloes