clang-format: Solve issues found and fixed by clang-tidy.