Compiler: Improved RUNTIME_CHECK_TYPES mode. Avoid generating new compiler errors when running with -rt.