Replace res_randomid with arc4random_uniform

Test: built, flashed, booted
      system/netd/tests/runtests.sh pass

Change-Id: Ie1f007f581c7e8becb429c0d27fd1c1b3a3f285e
diff --git a/resolv/res_mkquery.cpp b/resolv/res_mkquery.cpp
index 32c413f..b2f97c7 100644
--- a/resolv/res_mkquery.cpp
+++ b/resolv/res_mkquery.cpp
@@ -125,7 +125,7 @@
     if ((buf == NULL) || (buflen < HFIXEDSZ)) return (-1);
     memset(buf, 0, HFIXEDSZ);
     hp = (HEADER*) (void*) buf;
-    hp->id = htons(res_randomid());
+    hp->id = htons(arc4random_uniform(65536));
     hp->opcode = op;
     hp->rd = (statp->options & RES_RECURSE) != 0U;
     hp->ad = (statp->options & RES_USE_DNSSEC) != 0U;