kconfig/conf: reduce the scope of `defconfig_file'