channels/smartcard: avoid crash on SCardStatusA failure