Common: Make DoContainer within PointerWrap private.

This shouldn't really be exposed as a public function and should only be called through other Do class functions that take a container type as a parameter. This is pretty unsafe otherwise (it'll fail on compilation, but still).

Also got rid of the cast and just used `size_t` as the size.