Gold futures settle higher after a two session decline