[PATCH openEuler-22.09 v3 362/391] selftests/bpf: Fix possible NULL passed to memcpy() with zero size