ofp-parse: Make parse_ofp_str() thread-safe.