Apply r6972 from my other copy of deflate.c: don't lose the BFINAL bit