Third-harmonic exponent in three-dimensional N-vector models