[PATCH 5.15 14/37] ALSA: pcm: Fix races among concurrent read/write and buffer changes