Fix pthread_create error handling in ril.

Bug: https://code.google.com/p/android/issues/detail?id=64189