ffmpeg backport: improve seeking in flac files

patch accepted upstream
https://github.com/FFmpeg/FFmpeg/pull/64