Rename __pure, __pure2, and __purefunc.

These names were pretty misleading (aka "backwards"), so switch to the
same obvious names glibc uses.

Test: build.
Change-Id: Ia98c9dbbccd0820386116562347654e84669034a
diff --git a/libc/include/pthread.h b/libc/include/pthread.h
index 85b8cd9..20fd566 100644
--- a/libc/include/pthread.h
+++ b/libc/include/pthread.h
@@ -196,7 +196,7 @@
 int pthread_spin_trylock(pthread_spinlock_t* _Nonnull) __INTRODUCED_IN(24);
 int pthread_spin_unlock(pthread_spinlock_t* _Nonnull) __INTRODUCED_IN(24);
 
-pthread_t pthread_self(void) __pure2;
+pthread_t pthread_self(void) __attribute_const__;
 
 #if defined(__USE_GNU)
 int pthread_getname_np(pthread_t, char* _Nonnull, size_t) __INTRODUCED_IN_FUTURE;