uiautomationcore: Fix BSTR buffer overrun (ASan). Length argument to SysAllocStringLen() should not exceed the length of the string argument. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>