Official: Larrivey leaves Cagliari