Support passing pubkey as Buffer in ECDSA::verify