Remove silly if (!threads->integer) nonsense from q2wmap accounting. Use semaphores (SDL_sem) for tracking these items, but only when debug is specified. This lets us maintain object counts without giving up threads.