Scattering Theory of Gilbert Damping