sched/wait, fs/btrfs: Convert wait_on_atomic_t() usage to the new wait_var_event...