BUG: check axes and window length input for all integer types in fft.helper

On Python 2.7, the long type was excluded from the checks.
Should be backported to numpy 1.8