Merge "res_pjsip: Add missing NULL checks when using pjsip_inv_end_session()."