update thread wrapper files from libretro-sdk