The U.S. dollar strengthened against all of its main rivals except the pound Thursday after the May retail sales report, snapping a three-session losing streak.