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