writeHeader : control frequency table coherency during header encoding, to avoid infinite loop (thanks to Stephane Gagnon)
FSE_compressU16() : check underlying function errors