tools: png2c: fixed to build with non-ancient libpng versions

Untested, no 4 bpp PNGs at hand; might be dropworthy...
tools: bingtools: fix use of memcpy() with overlapping parameters

Fixes mkbing on AMD64.