gold futures end three-session losing streak