Stochastic stability of quasi-integrable and resonant Hamiltonian systems excited by fractional Gaussian noise