Patch avcodeccontext profile value when using libx264