kconfig: don't allocate n+1 elements in temporary array

No match.