libavcodec/pngdec: support 'previous' dispose operation for APNG.