[PATCH openEuler-1.0-LTS 2/2] firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle