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/frc971/wpilib/interrupt_edge_counting.h b/frc971/wpilib/interrupt_edge_counting.h
index 160682c..dd48f2d 100644
--- a/frc971/wpilib/interrupt_edge_counting.h
+++ b/frc971/wpilib/interrupt_edge_counting.h
@@ -6,8 +6,9 @@
 #include <thread>
 #include <vector>
 
-#include "aos/stl_mutex/stl_mutex.h"
+#include "aos/logging/logging.h"
 #include "aos/macros.h"
+#include "aos/stl_mutex/stl_mutex.h"
 
 #include "frc971/wpilib/ahal/DigitalInput.h"
 #include "frc971/wpilib/ahal/Encoder.h"