Actually manage memory in the old-style AOS logging

LeakSanitizer should be happy with it now. It's also still just as
thread-safe.

Change-Id: Id09a0349657cf4f719267b053f0ea3d8ec366256
diff --git a/aos/stl_mutex/BUILD b/aos/stl_mutex/BUILD
index 06599e3..51229d4 100644
--- a/aos/stl_mutex/BUILD
+++ b/aos/stl_mutex/BUILD
@@ -7,7 +7,7 @@
     ],
     deps = [
         "//aos/ipc_lib:aos_sync",
-        "//aos/logging",
+        "@com_github_google_glog//:glog",
     ],
 )
 
@@ -20,6 +20,5 @@
         ":stl_mutex",
         "//aos:die",
         "//aos/testing:googletest",
-        "//aos/testing:test_logging",
     ],
 )