This removes dependency on ConditionVariableWrapper and CriticalSectionWrapper which currently have a 'friend' relationship that I'd like to get rid of. BUG= Review URL: https://codereview.webrtc.org/1590983005 Cr-Commit-Position: refs/heads/master@{#11292}