[PATCH 6.1 013/208] bpf: Fix off-by-one error in bpf_mem_cache_idx()