ecere: 64 bit fixes for memory manager