Finish cudaimgproc module refactoring

* Added `stream` parameter to all routines.
* Removed buffered versions of histogram functions, used `BufferPool` mechanism instead.