winmm: Avoid allocations in timeSetEvent.