some small fixes about SCardGetAttrib and SCARD_AUTOALLOCATE