Move the Mac port over to using snew/snewn/sresize.