US confectioner Hershey has elected former Diageo executive Rob Malcolm to its board of directors.