Dollar clings to gains as traders wait for China growth data