move eob_reached logic into ff_lzw_decode_tail() which simplifies the code, avoids some checks in the innermost loop and also gets rid of the controversal break while hopefully retaining the last byte in a valid bytestream, invalid bytestreams still can have very significant overread

Originally committed as revision 8517 to svn://svn.ffmpeg.org/ffmpeg/trunk
