libwinpr-smartcard: implement SCARD_AUTOALLOCATE