(Bug 5199) set jobstate to queued only if null

After credit card charge job is queued, always set dispatchtime, but
avoid overwriting jobstate and gctaskref when shop-creditcard-charge
worker has already finished and updated those.
Merge pull request #508 from alierak/cc-race-bug5199

(Bug 5199) set jobstate to queued only if null