[PATCH openEuler-22.09 v2 390/391] selftests/bpf: Fix GCC11 compiler warnings in -O2 mode