am 801aeefe: am a12c5445: Fix unused warnings in pthread.c

* commit '801aeefe2d77a957172c3994f1c20cd0ac8d9bd8':
  Fix unused warnings in pthread.c