Enhancement: Support generating shell completions to stdout

The `generate` command now supports using `-` as the filename with the
`--[shell]-completion` option to write the generated output to stdout.

https://github.com/restic/restic/issues/2511
https://github.com/restic/restic/pull/5053
