btrfs-progs: fix next_leaf in restore as it improperly skips some slots