The serialization/deserialization methods for the classes CExtKey and
CExtPubKey were only used in the BIP32 unit tests, where the relevant parts are
removed as well.
Backport of Bitcoin Core [[https://github.com/bitcoin/bitcoin/pull/17212 | PR17212]]