Kernel/x86 - Clean up some of the task switching code (possibly a little broken)

UCC git Repository :: git.ucc.asn.au