scripts: kconfig: Turn malformed .config lines into errors
scripts: kconfig: Turn malformed .config lines into errors

The warning from Kconfiglib might be hard to spot, and the problem is
easily fixed right away (note that malformed .config lines are different
from assignments to undefined symbols).

Do not make malformed .config lines an error in Kconfiglib itself (just
a warning), as you end up with messy "half-loaded" configurations.

Suggested by Marti Bolivar.

Piggyback some minor cleanups in kconfig.py. Make the warning for
configuration settings that didn't match the final value go to stderr,
for consistency.

Signed-off-by: Ulf Magnusson <f650684f780c6b48c0158c4e0f2e27f74aabc755@gmail.com>

kraj/zephyr,explora26/zephyr,ldts/zephyr,explora26/zephyr,kraj/zephyr,zephyriot/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,ldts/zephyr,nashif/zephyr,finikorg/zephyr,punitvara/zephyr,explora26/zephyr,punitvara/zephyr,nashif/zephyr,mbolivar/zephyr,Vudentz/zephyr,finikorg/zephyr,ldts/zephyr,punitvara/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,zephyriot/zephyr,ldts/zephyr,mbolivar/zephyr,zephyriot/zephyr,kraj/zephyr,galak/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,mbolivar/zephyr,galak/zephyr,ldts/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,kraj/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,kraj/zephyr,finikorg/zephyr,galak/zephyr,mbolivar/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,Vudentz/zephyr,nashif/zephyr,Vudentz/zephyr,mbolivar/zephyr,finikorg/zephyr