BUG: Fix C90 compiler warnings in `NI_MinOrMaxFilter1D`

Variable declarations were preceded by code due to a rebase.
Merge pull request #4006 from jaimefrio/c90_warnings

BUG: Fix C90 compiler warnings in `NI_MinOrMaxFilter1D`