Bugfix: Correct hardlink handling in `stats` command

If files on different devices had the same inode id, then the `stats` command
did not correctly calculate the snapshot size. This has been fixed.

https://github.com/restic/restic/pull/4503
https://forum.restic.net/t/possible-bug-in-stats/6461/8