The Hanna Neumann conjecture for Demushkin groups