Shanghai General Motors has recalled Cadillac XTS sedans due to a fault in the brake control software.