Update the linux plugin code to use the new check for a valid host thread introduced in r125067. llvm-svn: 125213