gencfg: gencfg.sh: endwhite is now noendwhite and works on C array input

Signed-off-by: jonschipp <jonschipp@gmail.com>