DOC: Fix typo in fft docs (the indexing variable is 'm', not 'n').

Backport document fix #3123 for 1.7.1