[PATCH 4.14 116/164] ALSA: pcm: Avoid potential races between OSS ioctls and read/write