Decouple qsv_common.c from x264.h