The ongoing conflict in the Middle East threatens to undermine sovereign credit ratings across the region if it escalates, according to S&P Global.