Correct result of sceKernelGetThreadExitStatus(0).

Fixes Zettai Hero Project's options menu.
Merge pull request #3177 from unknownbrackets/thread-funcs

Correct result of sceKernelGetThreadExitStatus(0)