Change: Update dependencies and require Go 1.18 or newer

We've updated most dependencies. Since some libraries require newer language
features, we're dropping support for Go 1.15 - 1.17, which means that restic now
requires at least Go 1.18 to build.

https://github.com/restic/restic/pull/4041
