KSP: added KSP_WxorX_KERNEL guard, and added more code to KSP_WxorX_KERNEL case

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>