[PATCH openEuler-22.09 150/379] bpf: Simplify freeing logic in linfo and jited_linfo