channels/smartcard: fix SCardGetAttrib SCARD_AUTOALLOCATE support