[PATCH 24/29] qemu_firmware: Update matching logic for ROMs