Kernel: Implement support for current thread pseudo-handle

This boots a few (mostly Nintendo 1st party) games further.