clamav: upstream fix for clang

Closes #27592.