gold loses almost $17 for the week