count_snapshots: Properly update the leaf pointer after btrfs_next_leaf