util: Use size_t instead of uint32_t

size_t better matches std::memcmp and the other function in this file.
It is still unsigned.

BUG=b:169156874
TEST=CQ passes

Change-Id: Ibb5ed7abd9af566efba97fc0dffc7b8c87ad1160
2 files changed