fixed some more memory alignment etc issues

These are issues found with -fsanitize=undefined.
diff --git a/aos/common/common.gyp b/aos/common/common.gyp
index d3ac124..c989bf2 100644
--- a/aos/common/common.gyp
+++ b/aos/common/common.gyp
@@ -108,6 +108,7 @@
         'queue_types',
         '<(EXTERNALS):gtest',
         'test_queue',
+        '<(AOS)/build/aos.gyp:logging',
       ],
     },
     {
@@ -275,6 +276,7 @@
         '<(EXTERNALS):gtest',
         'mutex',
         'die',
+        '<(AOS)/build/aos.gyp:logging',
       ],
     },
     {