Re:kernel_thread() causes segfault