Fix double loading check for Darwin

Rename globals.cc to globals_unix.cc and fix-up in the blueprint file.

This fixes the build failure on Mac when running (hiddenapi) due to the
double library loading check.

Test: make -j12 PRODUCT-sdk-sdk sdk_repo (completes on OS X)
Bug: 132163727

(cherry picked from commit 6a3c67e534313e0bc69ff5cd71e7197cefece9fb)

Merged-In: I5b7392ac94398ac00c1e703895c639f0e6469141
Change-Id: I5b7392ac94398ac00c1e703895c639f0e6469141
3 files changed