Global dynamics and bifurcation of periodic orbits in a modified Nosé-Hoover oscillator