add support for newer CryptImportKey format