Fix flac encoder and decoder EOS handling
am: 103f5a6268

Change-Id: Ia42373fdf1f4b227082f6ce2575c82acc7cf1f8e