implement integer matrix conversion for fmpq_matxx