Return correct errors in sceKernelDeleteThread().

And also, don't reschedule in sceKernelTerminateDeleteThread(), per tests.