core.c: add check to be sure that the kernel run with CONFIG_KALLSYMS_ALL option