core: added cv::error with CV_NORETURN attr

To remove useless `return` statements after CV_Error().