[kswitch] fix undefined reference "kernel_atom" in PreparedSwitch.post()