kconfig: Fix warning: ignoring return value of 'fgets'