[PATCH v3 01/15] winmm: Avoid loop counter underflow when dwLoops is 0.