Fix for job request with GRES count of zero.

If a job request explicitly requests a GRES count of zero and that
is not the last GRES in the slurm internal data structures, the job
request will be rejected.
bug 633