When tracing_cpu_stats.h is included by C++ file it will not compile and link correctly due to missing #ifdef __cplusplus directives in the header file. Fixes #23072 Signed-off-by: Dariusz Lisik <dariusz.lisik@hidglobal.com>