Fixes compiling when NNG_ENABLE_STATS is OFF (#1600)
Fixes compiling when NNG_ENABLE_STATS is OFF (#1600)

The socket member `st_name` is not available when NNG_ENABLE_STATS is OFF.
nanomsg/nng,nanomsg/nng,nanomsg/nng,nanomsg/nng