Fix compiler error on -Wtautological-constant-out-of-range-compare

BUG=XWALK-3050