Add stubs for nl_types APIs.

We don't have message catalog APIs on Android until O. For releases
prior to that, we build in stub APIs (as weak symbols so we use libc's
on new API levels). We add these here instead of in libandroid_support
because the driver (correctly) links libomp well after
libandroid_support, which means libandroid_support won't be searched
for resolving symbols in openmp.

Test: Built, copied into the NDK, openmp test now passes!
Bug: https://github.com/android-ndk/ndk/issues/9
Change-Id: I7b455a0dd16703bb3e816da1a6d57a832a72da9b
2 files changed