[bugfix] chinrem_gcd: handle polynomials over rationals properly.