Polarization properties of second-harmonic generation in AlGaAs optical nanoantennas