audio_thread_alsa: fix pthread join condition in destructor