With elections in the U.S. and abroad looming, October may get "ugly," Dennis Gartman said Wednesday.