watchdog: sanity check that shm->running_childs is correct.

If we end up with nothing but empty pid slots, and somehow
shm->running_childs isn't right, correct it.

It would be nice if shm->running_childs was never wrong, but
on occasion things go awry.  There's probably a bug or two
in the child handling somewhere, but this works around it for now.