Fix for #3596: Make fftconvolve threadsafe
Consolidate duplicated code in fftconvolve
Fix small typo in comment
Merge pull request #3647 from foogod/bugfix-3596

BUG: fftpack: make fftconvolve threadsafe

Fixes gh-3596