res_pjsip_session: Fix cherry pick to master compile error.