SamsungQualcommRIL: fix race condition when starting phone type.

* ril is init but hasn't picked cdma or gsm, instead the ril picks no-phone.
* support switching gsm to cdma and vica versa
Change-Id: Ib9eaf88d5a7e90b2458ab787da230fca9a41249f
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1