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