openssl: stop using deprecated read_RSAPublicKey

Starting with openssl 3, the PEM_read_bio_RSAPublicKey function is
deprecated.  There is an existing API, PEM_read_PUBKEY which gives a
nicer EVP_PKEY object instead.  Switch to use this.

Tested: Unit tests pass, which call 'verify' and use this code path.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I45a935173f2d4d29660ef38f8e1ebcfa13c043d1
diff --git a/image_verify.hpp b/image_verify.hpp
index 5426c6d..88762e1 100644
--- a/image_verify.hpp
+++ b/image_verify.hpp
@@ -189,7 +189,7 @@
      * @param[in]  - publickey
      * @param[out] - RSA Object.
      */
-    inline RSA* createPublicRSA(const fs::path& publicKey);
+    inline EVP_PKEY_Ptr createPublicRSA(const fs::path& publicKey);
 
     /**
      * @brief Memory map the  file