Fix compilation issue in modules/core/m_message.c