Fix __pthread_clone and __bionic_clone error handling on x86.

Bug: 3461078
Change-Id: I93c151e27411211dd32717f206745c62c08c21ee