[libvirt PATCH v2 04/12] util: replace TPM global variables with a struct array