Imageio format png update

For 8-bit, just handle pointers to rows to the libpng and let it strip alpha channel.
Avoids additional buffer copying.

For 16-bit, use malloc and not "png_byte row[6*width];".

I believe this changes to be trivial, so i'll merge this in +24h if no one objects.