[PATCH 2/3] qemu_tpm: Extract per-TPM functionality from qemuTPMDomainHasSharedStorage