Fix host statement generation in dhcp.template

If --dns-name is specified, set it as DHCP host-name in preference to the --hostname field.