[Sanitizer] Build sanitizer_common tests w/o RTTI. Move ThreadRegistry class members below methods.