[TSan] Switch TSan runtime to use ThreadRegistry class from sanitizer_common