[PATCH openEuler-5.10-LTS 021/141] ftrace: Fix use-after-free for dynamic ftrace_ops