Rename sync() functions in libavformat.
Fixes compilation on Android where the sync() definition in unistd.h interferes with the static definitions in libavformat.