ALSA: timer: Fix race among timer ioctls