no need to check NULL
Ensure the heap start address is align with CARD_SIZE
remove mremap, which cannot be implemented by realloc
<math.h> must be included on openmvs.
add _size recording the original size. _withMapsSize recording the original size plus cards/maps.
growHeap using _size and _withMapsSize