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