Merge xgcd_partial from qfb branch.
Added prototype for xgcd_partial to fmpz.h.