btrfs-progs: dump-tree: move remaining item variables to the scope of use