Fix compatibility to numpy without rfftfreq.

Fixes #599.
Don't waste your time speeding this up. Compared to the FFT itself it's nothing.