libwinpr-synch: remove unnecessary critical section