Dimensional effect in the AC vortex response in thin superconducting films: exact solution in a weak DC magnetic field