gold futures score third weekly gain