Rename thread wrapper as rthreads - make it part of the libretro SDK