magick-export-image-pixels: corrections

The storage arg must be converted to an integer, and the pixels datatype is now
a blob instead of a raw pointer.