Fix a resource leak in Loaders.cpp
Ensure code inside method __KernelSwitchContext in sceKernelThread.cpp isn't unintentionally executed.

The null check around line 2935 for target also makes me think this was supposed to have been done.
Missed including this in the __KernelSwitchContext null check fix.

This shouldn't be called if target is null.
Merge pull request #1985 from lioncash/master

Fix a resource leak and possible unintentionally executed code.