gold futures recover after worst week in more than 3 years