libwinpr-smartcard: remove some locks