Revert "sc_pkcs15_encode_pubkey_as_spki depends on DER encoded RAW key"

This reverts commit 08d50ffe8c36bf9dc1d52f45ad75a1afe6e59c3e.