Completed the constructors of LinearAllocator, one who takes an buffer and one who allocates own buffer.