libwinpr-smartcard: fix SCardGetAttrib