btrfs: add barriers to btrfs_sync_log before log_commit_wait wakeups