apt-cacher.pl: Check for unset $child_pid before passing it to debug_message().
Closes: #231187
