Temperature-dependent vortex motion in a square mesoscopic superconducting cylinder: Ginzburg-Landau calculations