refactor python-gmp conversions to gmpy_cffi/convert.py