[PATCH openEuler-1.0-LTS 05/13] component: do not dereference opaque pointer in debugfs