d3dxof/tests: Do not print the string when GetName returned 0 byte.