avfilter/af_aphaser: move wave table generation code into separate file