kernel/binary_manager: check a maximum size of mq message is enough for binary manager usage
The largest size of messages for communication with binary manager is (CONFIG_NAME_MAX + 64).
So a maxmimum size of mq message should be greater than this size.
#include "sched/sched.h"
#include "binary_manager.h"
+#if CONFIG_MQ_MAXMSGSIZE < (CONFIG_NAME_MAX + 64)
+/* The largest size of messages is (CONFIG_NAME_MAX + 64) for communication with binary manager */
+#error "CONFIG_MQ_MAXMSGSIZE should be greater than (CONFIG_NAME_MAX + 64)"
+#endif
+
/****************************************************************************
* Private Definitions
****************************************************************************/
