[PATCH openEuler-22.09 v2 144/391] bpf: Simplify freeing logic in linfo and jited_linfo