libui: use __ANDROID_API_V__

__builtin_available() now works with preview SDK version (V in this
case). No need to use __ANDROID_API_FUTURE__ which was a workaround.

__builtin_available(andorid 35, *) evaluates to true if
- the platform SDK version is 35 or higher
- or, the platform is a preview (not REL)

Bug: 322384429
Test: CF loads mapper from vapex
Change-Id: I264cf444a0fb163e445471920930b6be3930dd03
diff --git a/libs/ui/Gralloc5.cpp b/libs/ui/Gralloc5.cpp
index 303043a..c4157ab 100644
--- a/libs/ui/Gralloc5.cpp
+++ b/libs/ui/Gralloc5.cpp
@@ -90,8 +90,7 @@
         }
 
         void* so = nullptr;
-        // TODO(b/322384429) switch this to __ANDROID_API_V__ when V is finalized
-        if API_LEVEL_AT_LEAST(__ANDROID_API_FUTURE__, 202404) {
+        if API_LEVEL_AT_LEAST (__ANDROID_API_V__, 202404) {
             so = AServiceManager_openDeclaredPassthroughHal("mapper", mapperSuffix.c_str(),
                                                             RTLD_LOCAL | RTLD_NOW);
         } else {