[PATCH openEuler-5.10-LTS 14/31] ALSA: pcm: Fix races among concurrent read/write and buffer changes