winmm: Replace one HeapAlloc with stack allocation.