Change definition of gcd in fraction fields to agree with that used in Sage and
Pari/GP.