fixed compile errors and warnings when building master branch with IPP enabled
Merge pull request #1485 from vpisarev:ipp_fixes