On OS X, for weak function (that user can override by providing their own implementation in the main binary), we need extern "C" SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE NOINLINE.
Fixes a broken test case on OS X, java_symbolization.cc, which uses a weak function __tsan_symbolize_external.
also remove CPP_WEAK macro in tsan_defs.h
it was defined to WEAK