[exporter/splunkhec] fix error message when metric event fails to marshal (#14591)
[exporter/splunkhec] fix error message when metric event fails to marshal (#14591)

fix error message when metric event marshal fails
open-telemetry/opentelemetry-collector-contrib,open-telemetry/opentelemetry-collector-contrib