Multifractal Analysis of generalized Thue-Morse trigonometric polynomials