Fix pthread_create error check.

pthread_ functions return a positive errno value (without setting errno)
on failure.

Amusingly, the pthread_join check a few lines down was already correct.

Test: builds
Change-Id: I64a24fe4f32fa207d71d911b02f92a33bf803484
1 file changed