Replaced calls to cout from photo module, by CV_Assert
CV_Assert for photo module corrected
Merge pull request #2409 from juanmanpr:master