Gold futures gain for the session, slip lower for the week