Check size is within bounds in AllocAt()

This is the sysmem/partition crash.  Happened when a thread tried to access it's stack after the blocks in the block allocator were corrupted then freed.

-[Unknown]