Fix Clang warning in ffi
Fix Clang warning in ffi

The do_get_field functions had C linkage but returned BigInt, which
is a warning under Clang at least. Move these functions up outside
of the extern "C" block, and rename them to not match the FFI function
since these are not publically accessible APIs, just helper functions.

randombit/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,webmaster128/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,webmaster128/botan,randombit/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,webmaster128/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan