Fixed serious bug in gpu detection:

If the script cctools_gpu_autodetect was not found in the path,
an extra forked process would be left hanging around, typically
in work_queue_worker!

Symptoms of this problem include strange behavior after a worker
should have exited, including slow build and test results.