Generate code also when no messages are defined

Although the generated code is not very useful---encode_msg,
decode_msg, merge_msgs and verify_msgs all causes an error---the
generated module will still compile anyway.