[PATCH v4 10/11] qemu: Move adding --tpmstate to swtpm command line into own function