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