Fix integer casting for AtkWrapper and jawimpl

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=740279