The managing director of General Motors Holden is to depart the company and take on a new role in Shanghai.