aapt: move qsort_r_compat here as it is sole client

This code is only used on the host for MacOS X compatibility.
Apparently, glibc and Apple's libc disagree on the parameter
ordering.

Change-Id: I214edcf2870b6ac88316306ac5af43f1dadf9b2e
Signed-off-by: Dima Zavin <dima@android.com>
diff --git a/tools/aapt/Android.mk b/tools/aapt/Android.mk
index 7934757..83c1068 100644
--- a/tools/aapt/Android.mk
+++ b/tools/aapt/Android.mk
@@ -25,7 +25,8 @@
     pseudolocalize.cpp \
     SourcePos.cpp \
     ZipEntry.cpp \
-    ZipFile.cpp
+    ZipFile.cpp \
+	qsort_r_compat.c
 
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)