Separate C++ API from C API in imgproc, photo, highgui and fann modules