[cares] Suppress a Wunused-function warning

This function is morally static, but exposed for testing, and happens
to be unused with our configuration. It is thus actually unused when
not building tests.

This seems the clearest way to suppress the warning, and seems
preferable to a binary-wide or even file-wide compiler flag toggle.

Test: built and observed no more warning
Change-Id: Ib3169ba35afbe29008dd428a2dd99b91543422b8
diff --git a/ares_getnameinfo.c b/ares_getnameinfo.c
index 4516112..450bd42 100644
--- a/ares_getnameinfo.c
+++ b/ares_getnameinfo.c
@@ -392,6 +392,7 @@
 #endif
 
 /* Determines if s1 ends with the string in s2 (case-insensitive) */
+STATIC_TESTABLE char *ares_striendstr(const char *s1, const char *s2) __attribute__((unused));
 STATIC_TESTABLE char *ares_striendstr(const char *s1, const char *s2)
 {
   const char *c1, *c2, *c1_begin;