Fix broken seeking in FLAC files

Fixes #1435