optimized cv::pow for integer power
Merge pull request #2268 from ilya-lavrenov:tapi_pow