kconfig: fix mconf segmentation fault