DO NOT MERGE
Fix security vulnerability in pre-O rild code.

Remove wrong code for setup_data_call.
Add check for max address for RIL_DIAL.

Bug: 37896655
Test: Manual.
Change-Id: I05c027140ae828a2653794fcdd94e1b1a130941b
(cherry picked from commit dda24c6557911aa1f4708abbd6b2f20f0e205b9e)

static bool is3gpp2(int radioTech) {
 switch (radioTech) {
 case RADIO_TECH_IS95A:
 case RADIO_TECH_IS95B:
 case RADIO_TECH_1xRTT:
 case RADIO_TECH_EVDO_0:
 case RADIO_TECH_EVDO_A:
 case RADIO_TECH_EVDO_B:
 case RADIO_TECH_EHRPD:
 return true;
 default:
 return false;
 }
}

static bool is3gpp2(int radioTech) {
 switch (radioTech) {
 case RADIO_TECH_IS95A:
 case RADIO_TECH_IS95B:
 case RADIO_TECH_1xRTT:
 case RADIO_TECH_EVDO_0:
 case RADIO_TECH_EVDO_A:
 case RADIO_TECH_EVDO_B:
 case RADIO_TECH_EHRPD:
 return true;
 default:
 return false;
 }
}
