Hamiltonian quasiperiodic Hopf bifurcation: KAM aspects