[ADT][Support] Fix C4146 error from MSVC
Unary minus operator applied to unsigned type, result still unsigned.
Use ~0U instead of -1U and 1 + ~VAL instead of -VAL.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D94417
vinograd47 on Jan 15 2021, 2:32 PM.Authored by