mpegaudio: Refactor mp3on4 flush function