kernel: add support for kernel restart handler call chain