(Libretro) Add thr-unix.c for both OSX/Unix