On the saturation of electron-cyclotron masers in solar flares