clang-tidy: fix `performance-unnecessary-value-param` lints
4 files changed