lib/cpp: fix GCC version check in config.hpp
lib/cpp: remove unused parameter names
lib/cpp: XdrInputProtocol: size_t -> uint32_t