gio: Fix C99 style variable declarations (bug #633075)