Gold futures post a gain of less than 0.1% for the week