gio: Fix -Werror format string errors from mismatched ints.