Gold futures finish with a 5% loss for the week