winmm: Make timer keep a ref on winmm while it's running.