gold futures end lower; lose over $42 on the week