openh264enc: Properly drain the encoder on ::finish()