chan_pjsip: Fix crash during off-nominal when no endpoint specified.