Gates hints at U.S. impatience with Iraq