Rename LLVM_MULTITHREADED define and fix build without threads.