message: verilog: analysis: symbol_table: Added checking presence of syntax origin in logs
  To prevent segmentation fault on nullptr syntax_origin, a check
  along with the error message is added to the logging.
diff: @@ -1768,10 +1768,18 @@ static void ResolveReferenceComponentNode(
  parent_scope->Value().declared_type;
  // Primitive types do not have members.
  if (type_info.user_defined_type == nullptr) {
  + if (type_info.syntax_origin == nullptr) {
  diagnostics->push_back(absl::InvalidArgumentError(
  absl::StrCat("Type of parent reference ",
  + ReferenceNodeFullPathString(*node->Parent()),
  + " does not have syntax origin.")));
  + }
  + diagnostics->push_back(absl::InvalidArgumentError(absl::StrCat(
  + "Type of parent reference ",
  ReferenceNodeFullPathString(*node->Parent()), " (",
  - verible::StringSpanOfSymbol(*type_info.syntax_origin),
  + type_info.syntax_origin
  + ? verible::StringSpanOfSymbol(*type_info.syntax_origin)
  + : "nullptr",
  ") does not have any members.")));
  return;
  }
  