kconfig: Add error handling to KCONFIG_ALLCONFIG