[PATCH openEuler-5.10-LTS 383/427] ftrace: Clean up hash direct_functions on register failures