chan_sip: Check sip_pvt pointer in ast_channel_get_t38_state(c)