Fix invalid memory access in configuration parser

Signed-off-by: Morten Hustveit <mortehu@google.com>
Merge branch 'master' of github.com:mortehu/cantera-term