Gouy-phase effects in the frequency combs of an optical parametric oscillator