libdca: fix build with clang

Fixes #31456.