[ALSA] Fix pcm-draining of capture stream in PCM middle layer