src: update clang-tidy and focus on modernization
Rules are available at https://clang.llvm.org/extra/clang-tidy/checks/list.html.
This doesn't impact CI since we don't run clang-tidy, but hints IDEs to use more modern syntax.
cc @nodejs/cpp-reviewers