crypt32: Fail earlier if CryptExportPublicKeyInfo fails.