GNU/Hurd returns empty string from getsockname() for AF_UNIX sockets (#18630)
Build the socket name from directory name and name instead.
This fixes existing failing tests on Debian GNU/Hurd:
* mypy/test/testdaemon.py::DaemonSuite::*
* mypy/test/testipc.py::IPCTests::*