kconfig: split out code touching a file to conf_touch_dep()