btrfs: simplify the logic in need_preemptive_flushing