Magnetization rotation-based polarization control of spintronic terahertz emitter