In favor of CPubKey methods. As of #12460, CPubKey::ValidSize tests relative
to the header-relevant pubkey size, making it an appropriate replacement.
Note that this adds support for 2 new uncompressed header types
to the CheckPubKeyEncoding pathway: values 6 and 7.