[PATCH v3 09/10] qemu: Move adding of keys to swtpm command line into own function