mpvcore: fix build failure (typo) if HAVE_PTHREADS is undefined