fixed defects in graph cuts

@iglesias @tklein23 @hushell 
Fixed new defects reported by Coverity Scan.
Please, move all the member initialisations in the constructors above inside the `CGraphCut::init()`. All the constructors should call this method. In this way we avoid code duplication.