Fix error handling in wtperf config parsing.