A recent change broke ninja check-asan on Darwin by causing an error
during linking of ASan unit tests [1].
Move the addition of -ObjC compiler flag outside of the new
if(COMPILER_RT_STANDALONE_BUILD) block. It doesn't add any global
flags (e.g, ${CMAKE_CXX_FLAGS}) and the decision to add is based
solely on source paths (${source_rpath}).