[libvirt] [PATCH] log: fix deadlock obtaining hostname (related CVE-2018-6764)