A Trace Formula for Long-Range Perturbations of the Landau Hamiltonian