Added FFI-enhanced (but lacking thread-safety) versions of ImageData's getPixel, setPixel, getWidth, getHeight, and getDimensions methods.

In a simple test, a trivial loop with ImageData:getPixel+ImageData:setPixel took 70ms normally, and 1ms with these new functions.