channels/smartcard: pcsc-lite fixes