Revert "Remove extern "C" in modp_dtoa declaration"

This reverts commit 1c5514c982b07346ee3f78bc1bc3fe6065b08ba6.
Commit tried to fix what was actually user error.