Merge "fix __cxa_finalize() implementation to be thread safe."