Swiss chocolate maker Barry Callebaut has remained upbeat about its prospects despite a fall in first-half profits after it embarked on moves to support its future growth.