MAINT: signal: clean up argument check in medfilt, medfilt2d, wiener