Spanish cava producer Grupo Codorníu is to cut jobs as it exits third-party production.