smaz_generic: update semantics of Read_Code to signal end-of-input