fix assert compiling with clang
fix compilation on clang
flac: keep skip state to be able to parse image metadata with small buffering
clang: fix status/state confusion, remove warnings