Carrier-envelope-phase-dependent effects of high-order harmonic generation in a strongly driven two-level atom