Fix clobber of current in kthread.c