Gradient-Variation Online Learning under Generalized Smoothness