Core/Threading: Replaced localtime with threadsafe ACE_OS::localtime_r call