Three consecutive years of smaller U.S. corn harvests are driving inventories of the world’s most-consumed grain to a 39-year low and spurring Goldman Sachs Group Inc. to predict that prices will rise near record highs.