[ASan] make variable unsigned to silence the warning