Common: Using size_t in PointerWrap's DoContainer apparently causes crashes

Fixes this.