Gold pares sharp early gains, but finishes higher, to book fourth straight weekly advance