[PATCH v4 24/36] qemu_firmware: Allow matching stateful ROMs