Hamiltonian Hopf bifurcations near a chaotic Hamiltonian resonance