[gnu_linux_x86] Comment out some codes due to lacking of gettid on GNULinux.