avformat/mxfenc: Simplfy writing padding