vd_lavc: remove compatibility crap

All this code was needed for compatibility with very old libavcodec
versions only (such as Libav 9).

Includes some now-possible simplifications too.
sub: remove old MPlayer DVD sub decoder

The DVD sub decoder in Libav 9 was broken/incomplete, so we kept the
MPlayer decoder around. Now it's not needed anymore.
af_lavrresample: remove avresample_set_channel_mapping() fallbacks

This function is now always available.

Also remove includes of reorder_ch.h from some AOs (these are just old
relicts).
ao_dsound: remove duplicated code
ad_lavc: remove deprecated downmixing by channel count

Downmixing by channel layout now hopefully works with all supported
libavcodec versions.
Remove some more unneeded version checks

All of these check against things that happened before the latest
supported FFmpeg/Libav release.
demux: use av_packet_ref()

av_copy_packet() was FFmpeg specific, av_packet_ref() is now available
on all supported libavcodec releases.
build: simplify libavfilter configure checks

This is all not needed anymore. In particular, remove all configure
switches except --enable-libavfilter.
vf_gradfun: remove internal implementation

This follows the (only slowly progressing) plan to replace all internal
video filters with libavfilter.

All what's left in vf_gradfun.c is the weird wrapper around vf_lavfi.c.
vf_unsharp: remove internal implementation

See previous commit.
vf_yadif: remove internal implementation

See previous commit.
vf_hqdn3d: remove internal implementation

See previous commit.
vf_delogo: remove internal implementation

See previous commit.
ad_lavc: use new AVFrame API

Set refcounted_frames, because in some versions of libavcodec mixing the
new AVFrame API and non-refcounted decoding could cause memory
corruption. Likewise, it's probably still required to unref a frame
before calling the decoder.
image_writer: use new AVFrame API
encode: use new AVFrame API
ao_lavc: set AVFrame.format

Seems kind of wrong that this wasn't done, although it didn't have any
bad consequences.
af_lavcac3enc: use new AVFrame API
manpage: remove author field

There's already a more detailed "AUTHORS" section.

Closes #647.