These were added to find stuff that makes the code "even more annying to
read" for Nicolai. It detects uses of the const keyword inside casts,
that have no effect, such as "static_cast<const uint32_t>" or
"dynamic_cast<T * const>".
