Darwin: Fix warnings about mismatched signed/unsigned compare