[PATCH openEuler-22.09 v3 117/391] bpf: Factor out verbose_invalid_scalar()