Security: Reject duplicate or out-of-order node names during `restore`

A tree containing a symlink and a directory with the same name could let
`restore` write through the symlink to files outside the restore target.

Restic now rejects trees whose node names are not strictly increasing
during restore and reports an error instead of restoring such a snapshot.

Thanks to Mario Ramos (@marrionesa), Zachariah Mithani (AploSec),
Manuel Riel (@m3nu) and calif.io for reporting this.

https://github.com/restic/restic/issues/22180
https://github.com/restic/restic/pull/22190
