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