fix: medianFilter sometimes crash on in-place filtering with IPP

[IPP docs](https://software.intel.com/en-us/node/504115) say that in-place operation is not supported for most filters.

check_regression=*edian*