Antiferromagnetic fluctuations and the Hall effect of electron-doped cuprates: Possibility of a quantum phase transition at underdoping