When I tried to add cool new clang-tidy 14 warnings, I noticed that the current clang-tidy settings already produce a ton of warnings. This commit addresses many of these. Almost all of them were non-critical, i.e. C vs. C++ style casts.
This is required to leave TraceCollector::collect() inside main for MemoryTrackier.
Since now it relies on SystemLog that is in Interpreters, and it cannot be moved into Common, since it has lots of dependencies.