Gold pares some losses to settle with a modest decline