Move libavcodec to common for graphite