[PATCH 01/36] virCapabilitiesInitCaches: Refactor freeing of temporary variables