compat: fix for multiple freeing in __ni_suse_free_globals()