Change definition of gcd in fmpq.