Add reallocate functionality to ArrayAllocator and use it from BitMap::resize Reviewed-by: brutisso, tschatzl