Third-harmonic generation in two-dimensional pseudo-dot system with an applied magnetic field