APNG: fix a couple of lingering image reading issues

See #10407.
APNG: add interlacing support

Finishes fixing #10407.