restored some libflac code omitted in initial commit allowing big-endian compilation without hacks (nw)