[PATCH] d2d1/tests: Fix compilation with clang.