lavf: fix apngdec under msvc.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>