bpf: Fix bug in mmap() implementation for BPF array map