[PATCH 28/36] qemu_firmware: Take templateFormat into account when matching