Move libav specific stuff from video_decoder.c into libav.c
Update libav with fix for incorrect DVHS packet framing

Fixes #2068
navigator: Avoid duplicate pages next to each other in history

Fixes #2052