libwinpr-smartcard: add proper locking by SCARDCONTEXT for pcsc-lite