Italian chocolate maker Ferrero has lost a long-running judicial battle in Ukraine over its Raffaello trademark.