Add mechanism for debugging fixed size alloc/free.

Can set a flag where it checks the allocated and freed sizes match up,
and panics if they fail to.