This allocates a memory block and pokes the bitmap bitmap into it.
The returned sequence will look like this: {address_to_bitmap,bitmap_xdim,bitmap_ydim}.
To deallocate a poked bitmap, use free(mem_bitmap[1]).