[MP] Clean up shared memory buffer between gamecode and engine