[libvirt] PATCH: better error checking for LOCAL_PEERCRED