Remove libretro SDK threading code