lavf/avc: add buffer padding to extradata allocation