Magnetization dissipation in ferromagnets from scattering theory