fixed unsave calculation of mpz_export length