take input length parameter in _fmpz_poly_revert_series methods