Nestlé plans to cut jobs in Germany as the Swiss food giant shift some production to another part of Europe.