A "common understanding" on a potential protected designation of origin for halloumi has been reached between Cyprus and Turkish-held Cyprus in the north of the island, the EU has said.