kernel: move stuff from check_kernel.c to db/fixup_kernel.sh