kconfig: use xfwrite wrapper function to silence warnings