Add message iterator.  Don't segfault on msgctl(IPC_STAT)