[Sanitizer] Be more careful with arch-specific defines in StopTheWorld code