Update ril.cpp

Fix crash during DIAL.