libnvdimm, namespace: refactor uuid_show() into a namespace_to_uuid() helper