lavcodec: Adding support for End Trimming in Opus encoder