res_pjsip_session: Fix segv in session_on_rx_response