[PATCH 5.10 20/38] ALSA: pcm: Fix races among concurrent read/write and buffer changes