[PATCH openEuler-22.09 121/379] bpf: Factor out verbose_invalid_scalar()