[PATCH 4.19 3/5] ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls