Update libx264.c to use new libx264 features