lavu/opencl: restore #if HAVE_THREADS