attempt to fix pure virtual call in Mat::deallocate
Merge pull request #2280 from ilya-lavrenov:attempt_pvc