base/workers.c: fixed return code on wproc_run_job()

in case of errors, write(2) may return 0, that may
be interpreted as OK on caller. also, we only increase
jobs_running and jobs_started on worker process if
write succeded.

loadct.jobs_running also is incremented only if
we sucessfuly submitted the job.