Use #ifdef to omit code that is not used when SQLITE_MAX_WORKER_THREADS is zero.