Radiative losses and improvement of plasma parameters after gettering in the Advanced Toroidal Facility