Fix unused warnings in pthread.c

Change-Id: I0287aadb825fd8cda29dc976bce55d75a1279fc5
1 file changed