[PATCH 4.19 09/15] ALSA: pcm: Fix races among concurrent read/write and buffer changes