kprobes: fix a null pointer bug in register_kretprobe()