[libvirt] [PATCH v2 04/15] test: Extract code to free testDriver into testDriverFree