French dairy giant Danone has confirmed that it has suspended yoghurt production at its Shanghai plant in China.