Nikolay Sivov : dxdiagn: Improve error handling when converting to VT_BSTR (Coverity).