Fix GRES with zero count

If a job or step request GRES with a count of zero, do not even
test to see if that GRES type is defined.
Some fixes related to recent Cray test mods