const fixes for fmpq_poly.