[PATCH 5.10] bpf: Avoid overflows involving hash elem_size