Returning growth came with a boost from Jaguar Land Rover factories restarting production following a cyber attack, according to official figures.