MFC r320990, r321011:
libthr: Avoid checking for negative values in usigned count.
Check for overflow instead.