[PATCH openEuler-22.09 v3 141/391] libbpf: Constify few bpf_program getters