ril: remove pthread, sync with cm's repo