[Sanitizer] Make disable_coredump a common flag and use it in TSan