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

This fixes the following build failure if `HAVE_PTHREADS` is undefined.
```
mpvcore/input/input.c:670:5: error: implicit declaration of function 'queue_unlock' [-Werror=implicit-function-declaration]
```