[PATCH 6.1 396/417] LoongArch: BPF: Prevent out-of-bounds memory access