x86: move deeply indented code to reenter_kprobe