gold futures end with a loss of almost $10