bpf: make uniform use of array->elem_size everywhere in arraymap.c