Stop the kernel complaining about rild.

Even if you're only using capabilities that reside in the bottom 32-bits,
the kernel complains unless you're on __LINUX_CAPABILITY_VERSION_3.

  warning: `rild' uses 32-bit capabilities (legacy support in use)

Change-Id: I6512cbc158971eb950e0fc2554e95fde72023cb2
Fix pthread_create error handling in ril.

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