Initialize the message type before the topic

Caching topics will during initialization attempt to reference
their message type. The message type therefore has to be
initialized prior to the topic to prevent the dreaded assertion.

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@389813 f38db490-d61c-443f-a65b-d21fe96a405b