kconfig/nconf: Fix hang when editing symbol with a long prompt