Security: Fix ownership when `restore --ownership-by-name` cannot resolve names

When restoring with `--ownership-by-name`, user or group names that could not
be resolved on the restore host (or were not recorded in the snapshot) caused
restic to change the owner of the restored file to UID/GID 0. Combined with
restored setuid/setgid bits this could produce unintentional setuid-root files.

Restic now instead falls back to the numeric UID/GID stored in the snapshot and
prints a warning when a name cannot be resolved.

https://github.com/restic/restic/issues/22178
https://github.com/restic/restic/pull/22185
