clang-tidy: fix `modernize-pass-by-value` lints
4 files changed