Fix EXT_RETURN usage for add_key_share()