kprobe/ftrace: fix build error due to bad function definition