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