quartz: add evil casting to make sure time wraps correctly on 32bit machines
quartz: add evil casting to make sure time wraps correctly on 32bit machines

get_time_from_ns_event(): apply patch from Michael Hutchinson which
makes sure the returned guint32 wraps correctly on 32 bit machines
when the uptime exceeds 2^32 ms.
(cherry picked from commit 78506bd604099161819ffdd0fdef98967f8980de)

Distrotech/gtk,johne53/MB3Gtk-2,johne53/MB3Gtk-2,Distrotech/gtk,Distrotech/gtk,Distrotech/gtk,Distrotech/gtk,johne53/MB3Gtk-2,johne53/MB3Gtk-2,johne53/MB3Gtk-2