[libvirt] [PATCH] tests: avoid NULL deref upon OOM failure