Do not initialize ff_cos_* tables again in rdft_init, they are already