fix for encoding submit_sm_resp messages with no message_id