comex gold marks first loss in three sessions