Print a better message when a too big message is sent

We were blowing up inside lockless queue code.  We knew inside
ShmEventLoop, where we also knew the channel, that this was going to
happen.  Print the channel out as we go down.

Change-Id: I05f0f8465a2c3cd3883c6549e09fff665ad93590
diff --git a/aos/events/shm_event_loop.cc b/aos/events/shm_event_loop.cc
index afd65a3..b2ccca6 100644
--- a/aos/events/shm_event_loop.cc
+++ b/aos/events/shm_event_loop.cc
@@ -384,6 +384,9 @@
               aos::monotonic_clock::time_point monotonic_remote_time,
               aos::realtime_clock::time_point realtime_remote_time,
               uint32_t remote_queue_index) override {
+    CHECK_LE(length, static_cast<size_t>(channel()->max_size()))
+        << ": Sent too big a message on "
+        << configuration::CleanedChannelToString(channel());
     lockless_queue_sender_.Send(
         length, monotonic_remote_time, realtime_remote_time, remote_queue_index,
         &monotonic_sent_time_, &realtime_sent_time_, &sent_queue_index_);
@@ -395,6 +398,9 @@
               aos::monotonic_clock::time_point monotonic_remote_time,
               aos::realtime_clock::time_point realtime_remote_time,
               uint32_t remote_queue_index) override {
+    CHECK_LE(length, static_cast<size_t>(channel()->max_size()))
+        << ": Sent too big a message on "
+        << configuration::CleanedChannelToString(channel());
     lockless_queue_sender_.Send(reinterpret_cast<const char *>(msg), length,
                                 monotonic_remote_time, realtime_remote_time,
                                 remote_queue_index, &monotonic_sent_time_,