comex gold closes higher for a third straight sess