Pass -ffreestanding when compiling ifunc resolvers.

This flag prevents the compiler from inserting calls to libc functions in
the ifunc resolver code, which will definitely cause problems if the libc
function is itself an ifunc, but other calls that use the PLT may also be
affected, since libc may not have been fully resolved yet. As it turns out,
newer versions of clang will insert calls to memcmp in the body of the
init_cpu_variant() function in arch-arm/dynamic_function_dispatch.cpp.

Change-Id: I91f18d450835adc4b74565e9f48d5834f594a0c4
diff --git a/libc/Android.bp b/libc/Android.bp
index e30abb7..ae943fc 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -1520,6 +1520,7 @@
     name: "libc_common_shared",
 
     cflags: [
+        "-ffreestanding",
         "-fno-stack-protector",
         "-fno-jump-tables",
     ],