fix namespace conflicts (like cv::inpaint and cv::xphoto::inpaint)