read-cache.c: remove #ifdef NO_PTHREADS