Memory effects in quantum information transmission across a Hamiltonian dephasing channel