core: Fix ABI mismatch of ao2_global_obj.