gold prices settle higher, mark first weekly gain in 7 weeks