T-API: atempt to fix pure virtual call in Mat::deallocate