added 3-channels support to cv::medianBlur