Run misc-use-internal-linkage check over clang-tidy code.
Also fixed a couple of other clang-tidy warnings.
Apart from issues in header files, all '.cpp' in
`clang-tools-extra/clang-tidy` must be clang-tidy clear now.
Updated the check to ignore point static data members with in class
initializer since removing the inline specifier would generate a
compilation error
Fixes#80684