[ALSA] Fix races between PCM drain and other ops