Export get/putVarInt functions in "Internal" module

Similar to the C++ API functions `CodedInputStream::readVarint32/64` and corresponding output functions.