Remove superfluous HAVE_THREADS #ifdef.