remove unnecessary flush buffer in encoder

see:
https://rbcommons.com/s/OpenH264/r/516/