[PATCH 6.6 557/583] LoongArch: BPF: Prevent out-of-bounds memory access