Quantum Effects in the Hamiltonian Mean Field Model