Dollar gains in Asia on data-driven stocks rally