Silence some -Wsign-compare warnings.

`sizeof` returns a size_t, which is unsigned, so this isn't necessary.