gme, flac: Fix check of return value