China's July industrial output came in a tad below forecasts, in another sign the mainland's economy is slowing.