General Motors' local joint ventures in China are to recall around 2.51m vehicles from the end of October to replace faulty airbag inflators produced by troubled Japanese supplier Takata.