DOC: hfft/ihfft description conflicts with itself

Says Hermite spectrum when it means signal
DOC: Add examples, copy some text from rfft functions to clarify inputs and outputs
DOC: add note clarifying why ifftshift is needed
Small correction in the docstring of polyfit. As mentionned in Issue 3640, the notes were wrong in the order of the index for p.
Merge pull request #3651 from MatthieuDartiailh/polyfit_doc

Small correction in the docstring of polyfit.
DOC: change "Hermite" to "Hermitian", "though" to "although"
DOC: Remove parentheses around axis
FIX: unchecked mallocs and Python operations

Rewrote _tmp_string_t handling in buffer.c to use the fact that
realloc(NULL, n) is equivalent to malloc(n). There are still some
unchecked cases in this file.

Also changed some arguments to const and removed casts on malloc
return values; malloc returns void*, which is converted to any
other pointer automatically. Casting the return value of malloc
is more likely to hide bugs than to fix anything.
MAINT: remove unused goto label and useless casts
FIX: some more casts in ufunc_object

Introduced a helper function to get rid of repetitive code.
FIX don't explicitly cast void* when final type is known
Merge pull request #3655 from larsmans/c-fixes

FIX: unchecked mallocs and various other things
DOC: Unlink non-variable 'm', use monospace instead
Merge pull request #3647 from endolith/patch-1

DOC: hfft/ihfft description conflicts with itself
ENH: add nonzero of bools fastpath

count_nonzero already has a fastpath but nonzero does not.
Improves performance by about 25% via avoiding a function call.
Merge pull request #3644 from juliantaylor/nonzero-bool

ENH: add nonzero of bools fastpath