[CMake][Win] Only build DumpRenderTree when WebKit Legacy is enabled