btrfs-progs: dump-tree: improved error handling in print_extents