platform: fix for the removed typedef, implement BeginTempMemory and EndTempMemory
platform: fix for the removed typedef, implement BeginTempMemory and EndTempMemory

vrischmann/caribou,vrischmann/caribou,vrischmann/caribou