Avoid use of temporary variable called DOMAIN in task 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.

This actually caused a problem for our wave modeling expert today.

@matthewrmshin - please review.