09f2b0aa2a
- Fixes issue where invalid UTF-8 characters in a trace log would crash
the program
- Bad characters could appear with hsa_amd_enable_logging
- The first parameter of type uint8_t* is interpreted as a cstring
during log creation
- This change only fixes the crash, not this issue
Change-Id: I66771a66deee347000a98a91c4aa9cfb674c8f08