[ffmpeg] Backport of mpegts optimisations

There have been some mpegts parsing optimisations accepted in upstream ffmpeg. 
They reduce mpeg2ts parsing time by about 20% on the Pi. All platforms should benefit.
This improves startup time and playback for high bitrate m2ts/iso files.