ENH improved casting behaviour of signal.filtfilt, see #3158