TEZ-1342. Fix a bug which caused tez.am.client.am.port-range to not take
effect. Contributed by Jeff Zhang.