input: fix build if HAVE_PTHREADS is undefined
vo_corevideo: add uyvy422 pixel format support

Looks like the vda_h264_dec in ffmpeg likes to output this format and it
inserted swscale to do pixfmt conversion to yuyv422.
Merge branch 'master' of https://github.com/mpv-player/mpv