STY: minor PEP8 fixups for numpy/fft.

Rebased for backport to 1.9.x if wanted.