fix(OpenGL): fix resampling of very large textures
When resizing, the memory alloc for textures with more than 4 Gig samples was overflowing int. Switch to size_t
When resizing, the memory alloc for textures with more than 4 Gig samples was overflowing int. Switch to size_t