btrfs: qgroup: don't try to wait flushing if we're already holding a transaction