Silence some -Wsign-compare warnings.

Use `size_t` instead for this.