[libvirt] [PATCH v3 02/12] test: Adjust cleanup/error paths for nodedev test APIs