loongarch/kexec: refactor for kernel/Kconfig.kexec