role of oxygen in gold leaching