LoongArch: BPF: Prevent out-of-bounds memory access