[PATCH 6.7 616/641] LoongArch: BPF: Prevent out-of-bounds memory access