x86/kexec: Make variable static and config dependent