Fix non-graceful termination of FastCGI apps on Windows

This fixes a problem found with php-cgi.exe on Windows; it wouldn't terminate when httpd was stopped.

The root cause was:

* PHP doesn't respond to the termination event set by mod_fastcgi (this is a
  feature of the FastCGI programming library provided by the mod_fastcgi folks,
  which PHP apparently does not use).

* The Windows code was broken in that it wouldn't forcibly kill after sleeping
  if it had previously tried to set the termination event, due to confusionf
  about state (modified by the patch).  Even if the child_wait thread was
  running, it wouldn't have changed the state from VICTIM.

Hmmm...  Before trying to fix it I couldn't find anything useful with a web
search but after arriving at a solution I found the same one here:

http://mailman.fastcgi.com/pipermail/fastcgi-developers/2009-October/000365.html