[PATCH 4.19 42/74] kconfig: Clear "written" flag to avoid data loss