msacm32: Replace malloc/free with HeapAlloc/HeapFree.