avcodec/flac_parser: Fix infinite loop