dcmtk: fix compilation issue with newer clang++

A fix for the DCMTK recipe. The "current" 3.6.0 DCMTK release doesn't build with newer clang. Upstream has a patch in their git repo, but the patch doesn't apply cleanly to the stable release, so I just grabbed the parts of it that do.