Protect against misuse of an implementation detail.

Callers are supposed to define _GNU_SOURCE, but of course there are people out there defining _USE_GNU instead, and of course they're inconsistent about whether they define it with a value or not...

Change-Id: I54ef85f29b8c24e2861ed539a40f066c069eaa82
diff --git a/libc/include/pthread.h b/libc/include/pthread.h
index 71ea8f9..cdf1b8c 100644
--- a/libc/include/pthread.h
+++ b/libc/include/pthread.h
@@ -314,7 +314,7 @@
 
 pthread_t pthread_self(void) __attribute_const__;
 
-#if __USE_GNU  && __BIONIC_AVAILABILITY_GUARD(26)
+#if defined(__USE_GNU) && __BIONIC_AVAILABILITY_GUARD(26)
 /**
  * [pthread_getname_np(3)](https://man7.org/linux/man-pages/man3/pthread_getname_np.3.html)
  * gets the name of the given thread.
@@ -350,7 +350,7 @@
  * Available since API level 36.
  * See sched_getaffinity() and pthread_gettid_np() for greater portability.
  */
-#if __USE_GNU && __BIONIC_AVAILABILITY_GUARD(36)
+#if defined(__USE_GNU) && __BIONIC_AVAILABILITY_GUARD(36)
 int pthread_getaffinity_np(pthread_t __pthread, size_t __cpu_set_size, cpu_set_t* __cpu_set) __INTRODUCED_IN(36);
 #endif
 
@@ -363,7 +363,7 @@
  * Available since API level 36.
  * See sched_getaffinity() and pthread_gettid_np() for greater portability.
  */
-#if __USE_GNU && __BIONIC_AVAILABILITY_GUARD(36)
+#if defined(__USE_GNU) && __BIONIC_AVAILABILITY_GUARD(36)
 int pthread_setaffinity_np(pthread_t __pthread, size_t __cpu_set_size, const cpu_set_t* __cpu_set) __INTRODUCED_IN(36);
 #endif