Prefix LOG and CHECK with AOS_

This prepares us for introducing glog more widely and transitioning
things over where they make sense.

Change-Id: Ic6c208882407bc2153fe875ffc736d66f5c8ade5
diff --git a/aos/events/shm-event-loop.cc b/aos/events/shm-event-loop.cc
index 4984f59..5034f0b 100644
--- a/aos/events/shm-event-loop.cc
+++ b/aos/events/shm-event-loop.cc
@@ -128,7 +128,7 @@
       // Try joining.  If we fail, we weren't asleep on the condition in the
       // queue.  So hit it again and again until that's true.
       struct timespec end_time;
-      PCHECK(clock_gettime(CLOCK_REALTIME, &end_time) == 0);
+      AOS_PCHECK(clock_gettime(CLOCK_REALTIME, &end_time) == 0);
       while (true) {
         void *retval = nullptr;
         end_time.tv_nsec += 100000000;
@@ -138,7 +138,7 @@
         }
         int ret = pthread_timedjoin_np(pthread_, &retval, &end_time);
         if (ret == ETIMEDOUT) continue;
-        PCHECK(ret == 0);
+        AOS_PCHECK(ret == 0);
         break;
       }
     }
@@ -146,11 +146,11 @@
 
   // Starts the thread and waits until it is running.
   void Start() {
-    PCHECK(pthread_create(&pthread_, nullptr, &StaticRun, this) == 0);
+    AOS_PCHECK(pthread_create(&pthread_, nullptr, &StaticRun, this) == 0);
     IPCRecursiveMutexLocker locker(&thread_started_mutex_);
     if (locker.owner_died()) ::aos::Die("Owner died");
     while (!running_) {
-      CHECK(!thread_started_condition_.Wait());
+      AOS_CHECK(!thread_started_condition_.Wait());
     }
   }