lavf input: don't use deprecated AVStream fields

Fixes building against newer libavcodecs from the Libav project.