[MAT-403] Move the off-heap memory manager into OG-Maths.