fft.mako: finished eradicating side effects in local FFT
fft.mako: removed potential race condition with local memory
fft.mako: using constant variables where available in fft_global()