Remove libcore include dependency

libnativehelper only uses ScopedPthreadMutexLock from libcore/include,
rewrite it with std::mutex and std::lock_guard instead.

Change-Id: I4eae9e77d21483ffb6b4aedcedcf8c7bb765294f
3 files changed