Removed custom memory allocator.

- Not used in any sub-systems.
- Will be added later (I kept the source snippets) if need be.