Avoid use of temporary variable called DOMAIN in job scripts.

(This affects AIX task hosts only). DOMAIN is a commonly used variable name in
atmospheric modeling, and users may want to pass it to tasks.
Modified env var name of previous commit.
Merge pull request #1218 from hjoliver/jobfile.change-domain-varname

Avoid use of temporary variable called DOMAIN in task job scripts.