[libvirt] [PATCH] nodeinfo: Make sure we always reset errno before calling readdir