scripts/dts: Inline simple single-caller functions into main()
scripts/dts: Inline simple single-caller functions into main()

Inline load_and_parse_dts() and generate_{keyvalue,include}_file().

Also specify UTF-8 for writing files, and fix some mis-indentation.

Signed-off-by: Ulf Magnusson <01743f1c1deb1fe75271d62edb65757d98ac0bcb@nordicsemi.no>

galak/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,galak/zephyr,ldts/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,ldts/zephyr,Vudentz/zephyr,galak/zephyr,nashif/zephyr,finikorg/zephyr,finikorg/zephyr,finikorg/zephyr,finikorg/zephyr,Vudentz/zephyr,Vudentz/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,ldts/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,explora26/zephyr,explora26/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,explora26/zephyr,Vudentz/zephyr,nashif/zephyr,explora26/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr