parse_config: Use strtok_r to avoid memory corruption when recursing