Btrfs: fix a possible deadlock between scrub and transaction committing