[PATCH v2 2/9] virsh: secret: Refactor cleanup in cmdSecretSetValue