ofPixels: fix resize, was using bytesPerPixel instead of numChannels as offset