sig_gen: Fixed error in AM modulation