comex gold settles lower for first time in three sessions