[PATCH openEuler-1.0-LTS 10/25] ftrace: Fix null pointer dereference in ftrace_add_mod()