World’s most-populous nation boosted imports of farm goods ranging from corn to pork to sorghum in June.