The world's largest chocolate processor Barry Callebaut has warned of a potential shortage of cocoa.