FTBFS Hurd: fix build error because unsupported r/w thread state