libav: Upgrade to libav10

Fixes #1949
libav: Avoid use of deprecated fields
libav: Use ref counted packets instead of copying data
libav: Copy aspect ratio from stream info

refs #1989
Fix implicit channel-number to channel-layout mappings

Fixes #1989
libav10: Fixes to make it build for Linux
ps3: Improve exception handler

refs #2000
fa_audio: Don't copy audio data, instead use media_buf_from_avpkt_unlocked()
libav10: Fix incorrect frame cleanup in thumb loader
media: Fix some buffer management issues after libav10 upgrade
Remove warning about unknown SSA/ASS overrides
New libav10 revision

Fixes #1784
ps3: Improve crash dump with stack trace
ps3/vdec: If we haven't seen any b-frames for awhile it's safe to say that PTS == DTS if no PTS is available

Fixes #1883 (for ps3)
Simplify the built-in h264 parser a bit. We only need it to parse
slice headers, etc
rpi: Fix DTS -> PTS timestamp inference for h264

Fixes #1883 (for rpi)