Change task/cray logging to "error()"

The fprintf(stderr will generally fail as stderr will usually be closed.
Correct srun exit code for mixed values

Modify srun to report an exit code of zero rather than nine if some tasks
exit with a return code of zero and others are killed with SIGKILL. Only an
exit code of zero did this.