audioencoder: Add finish vfunc for subclass to be able to drain pending data
Depending on subclass implementation, there might be pending/queued encoded data. Similar to GstVideoEncoder::finish(), GstAudioEncoder needs to provide such a way for subclass to drain pending data on EOS.