Gold futures end the week with a gain of about 0.2%