lavc/x264: Use FF_CODEC_CAP_INIT_THREADSAFE if x264 is new.