Refresh x264 patch and use pthread for x264 in win32