Gold futures settle narrowly higher after two-session decline