Spectral invariants of the magnetic Dirichlet-to-Neumann map on Riemannian manifolds