Influence of incommensurate dynamic charge-density-wave scattering on the photoemission line shape of superconducting high-T_c cuprates