dynare_resolve.m: correct header and change naming of globals

9 jobs for resolveheader in 72 minutes and 1 second (queued for 3 seconds)