Synchronize access to m_hNeedMoreSamples event in WASAPI renderer

- It was possible that event was set already NULL on the playback stop when rendering thread was still trying to check the buffer status
Fix crash on a playback stop when pipeline hasn't yet been initialized