Use MIN macro to compute a minimum
Use MIN macro to compute a minimum

Signed-off-by: Frediano Ziglio <55d48b080b2e443e395cde84d2c83b135a4ff48e@redhat.com>

Fantu/spice,ya-mouse/spice,fgouget/spice,fgouget/spice,fgouget/spice,Fantu/spice,fgouget/spice,Fantu/spice,SPICE/spice,SPICE/spice,ya-mouse/spice,ya-mouse/spice,Fantu/spice,SPICE/spice