Gold futures finish the week with a gain of about 0.3%