Initialize member variables for default constructed ScratchMemorySpace
requested to merge github/fork/nliber/cleanup_scratch_memory_space into cleanup_scratch_memory_space
Created by: nliber
Initialize member variables for default constructed ScratchMemorySpace so that any get_shmem*(...) calls on a default constructed ScratchMemorySpace don't invoke ub.