d_do_test: show optlink error messages instead of UTF errors

Win32 builds use compressed symbols which do not work together with UTF8 strings, so the test results don't show sensible output but a UTF-Excpetion.

This patch changes invalid UTF8-Sequences in the compiler and linker output to a series of '?'.