dsp.c: optimize goerztzel sample loops, in dtmf_detect, mf_detect and tone_detect