ensure consistent results for gcdx(0,0) with BigInt