Fix asan error in thread_status_impl.cc