MAINT: fft: cleanup in fftpack module

* put string constants in const arrays
* use static functions were possible
* removed a stale comment
* more consistent whitespace
Merge pull request #5282 from larsmans/c-fixes

MAINT: fft: cleanup in fftpack module