fix integer overflows in red_get_path
fix integer overflows in red_get_path

Use 64 bit arithmetic to avoid overflows.
The multiplication between count and a constant can overflow.

Signed-off-by: Frediano Ziglio <55d48b080b2e443e395cde84d2c83b135a4ff48e@redhat.com>
Acked-by: Fabiano Fidêncio <2931bae082ef9bc04523ba759c03a4778316d48f@redhat.com>

fgouget/spice,fgouget/spice,fgouget/spice,fgouget/spice