Imane Khelif, the boxer who won Olympic gold amid a gender eligibility row, is taking legal action over media reports allegedly detailing her leaked medical records, the International Olympic Committee has said.