[PATCH 3.18 33/52] ALSA: pcm: Avoid potential races between OSS ioctls and read/write