ffmpeg and libav compatibility fixes

Fix an issue with embedded mkv subtitles after the recent ffmpeg merge. Also go through all version checks and remove/update/comment them (should help libav and ffmpeg compatibility).

This is an updated version of this PR (https://github.com/xbmc/xbmc/pull/2525)