[libvirt] [PATCH v2 4/5] util: extend virExecWithHook()