Fix pngOut alloc for scale > 1