btrfs: qgroup: Finish rescan when hit the last leaf of extent tree