tinysvcmdns: Only append .local suffix if missing.

The .local suffix should only be added to the hostname if it is missing.
It is already present on OS X hosts.

The hostname is never visible by the user, so duplicating the suffix is
not a big issue, but is nevertheless incorrect.