Revert "Fix a heap issue with static on Windows"
Revert "Fix a heap issue with static on Windows"

This reverts commit 8e93c19de311a76704028b0195abfe04cfad900d.

opencv/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,opencv/opencv