winmm: Introduce compare_uint helper.