Fix bugprone-macro-parentheses warnings

Bug: 150783705
Test: WITH_TIDY=1 make
Change-Id: If47b7adaa5f3ba3c518fb0be48f0ffdc81d204b2
diff --git a/libc/include/bits/posix_limits.h b/libc/include/bits/posix_limits.h
index 8dfea52..452f5f6 100644
--- a/libc/include/bits/posix_limits.h
+++ b/libc/include/bits/posix_limits.h
@@ -37,7 +37,7 @@
 
 #define __BIONIC_POSIX_FEATURE_MISSING (-1)
 #define __BIONIC_POSIX_FEATURE_SINCE(level) \
-    (((__ANDROID_API__) >= level) ? _POSIX_VERSION : __BIONIC_POSIX_FEATURE_MISSING)
+    (((__ANDROID_API__) >= (level)) ? _POSIX_VERSION : __BIONIC_POSIX_FEATURE_MISSING)
 
 /* Availability macros. */
 /* See http://man7.org/linux/man-pages/man7/posixoptions.7.html for documentation. */
@@ -104,15 +104,15 @@
 #define _POSIX2_UPE                 __BIONIC_POSIX_FEATURE_MISSING
 
 #if defined(__LP64__)
-#define _POSIX_V7_ILP32_OFF32       -1
-#define _POSIX_V7_ILP32_OFFBIG      -1
+#define _POSIX_V7_ILP32_OFF32      (-1)
+#define _POSIX_V7_ILP32_OFFBIG     (-1)
 #define _POSIX_V7_LP64_OFF64         1
 #define _POSIX_V7_LPBIG_OFFBIG       1
 #else
 #define _POSIX_V7_ILP32_OFF32        1
-#define _POSIX_V7_ILP32_OFFBIG      -1
-#define _POSIX_V7_LP64_OFF64        -1
-#define _POSIX_V7_LPBIG_OFFBIG      -1
+#define _POSIX_V7_ILP32_OFFBIG     (-1)
+#define _POSIX_V7_LP64_OFF64       (-1)
+#define _POSIX_V7_LPBIG_OFFBIG     (-1)
 #endif
 
 #define _XOPEN_CRYPT                __BIONIC_POSIX_FEATURE_MISSING