kprobes: Separate kprobe optimizing code from optimizer