GRES accounting data wrong in database

gres_alloc, gres_req, and gres_used fields were empty if the
job was not started immediately.
bug 380