resolved: re-add support for getting local domain from DHCP

When the code for generating resolv.conf was moved from networkd to
resolved the DHCP domain name code was dropped.