[std] Fix unsigned behavior in some UInt ops