Clean up the rest of the usage of crt_safe_util_x

This makes sure that all platform implementations of the Wels* functions here behave similarly across platforms, instead of being safe on one platform and unsafe (e.g. leaving buffers unterminated) on others. Make sure none of the implementations terminate the process if a static buffer is overrun, but cleanly null terminate the buffer and truncate instead.