Experimental fix for potential Negative array index read in gradiend slider
Coverity CID 1034359
Fix potential out-of-bounds write
However, configstr can not be longer than ~700 chars (see src/control/conf.h, function dt_conf_init), so overflow is unlikely
Coverity CID 1034339