Fix a typo in the Java thread state

OK, this is really minor but it still bugs me :)