[PATCH OLK-6.6 2/6] bpf: Factor out htab_elem_value helper()