tsan/asan: support pthread_setname_np to set thread names