Invalid usage of cv::Ptr for arrays fixed.
Merge pull request #1295 from asmorkalov:winrt_ptr_usage_fix