Add ::getSize method to SimpleHeap.

This will be required to support OSX platform, which requires a
::getSize equivalent for pointers. Lame.