add a flag to load_png_*() to control y mirroring