Fix crash in StackAllocator

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>