clang-tidy: fix `modernize-loop-convert` lints
5 files changed