[TSan] Use __sanitizer_pthread_attr_t in TSan