[libvirt] [PATCH] Fix compiler warnings in test code