Fix `pthread_cond_timedwait()` error processing in dex2oat.

This function does not set `errno` on error; use the returned value as
error code instead.

Test: m dex2oat
Bug: 121130576
Change-Id: I32a2aeaef854930efac83e16fcb6a0a2d6f88090
1 file changed