UK car production declined for a third consecutive month in August, according to figures released by the Society of Motor Manufacturers and Traders (SMMT).