ImageIO Format PNG: 16bit: avoid additional buffer copying.
Let libpng remove alpha and swap bytes.
ImageIO Format PNG: refactor common code