misc: Move the static_assert from logging to the utils

This is just an ordinary macro, no specific reason to
have it in logging.h. This was compile tested with code
from our osmo family.
diff --git a/include/osmocore/utils.h b/include/osmocore/utils.h
index 3574f7f..93cefbe 100644
--- a/include/osmocore/utils.h
+++ b/include/osmocore/utils.h
@@ -21,4 +21,6 @@
 char *hexdump(const unsigned char *buf, int len);
 char *hexdump_nospc(const unsigned char *buf, int len);
 
+#define static_assert(exp, name) typedef int dummy##name [(exp) ? 1 : -1];
+
 #endif