libwinpr-smartcard: fix SCardConnectW deadlock