doc/check_docs2.py warnings fixes
Merge pull request #3297 from asmorkalov:ocv_docs_fix