gio: Add some missing type annotations to object arguments