Gold retreats from 8-day high, trims daily gains