[PATCH] sapi: Use the global HeapAlloc() wrappers