Get rid of THREAD_JOIN_IMPLEMENTED by adding thread_join() stub.