Fix invalid GUID string generation described by https://bugs.llvm.org/show_bug.cgi?id=50459
The valid format for a GUID is {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
where X is a hex digit (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F).
The length of the individual components must be: 8, 4, 4, 4, 12.
clang-format: please reformat the code
4 diff lines are omitted. See full path.