llvmpipe: add pipe_thread_wait() calls