[PATCH openEuler-5.10 13/22] firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries