Fix potential crash while updating IMDNs
Ensure that the result of linphone_event_log_get_chat_message(_event) is not nil before trying to use it
Ensure that the result of linphone_event_log_get_chat_message(_event) is not nil before trying to use it